﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RAE.Logica.Info
{
    public class Estadistica
    {
        public int gBlancas { get; set; }
        public int gNegras { get; set; }
        public int pBlancas { get; set; }
        public int pNegras { get; set; }
        public int total { get; set; }

        public Estadistica ()
        {
            this.gBlancas = 0;
            this.gNegras = 0;
            this.pBlancas = 0;
            this.pNegras = 0;
            this.total = 0;
        }

        public void calcTotal()
        {
            this.total = gNegras + gBlancas + pNegras + pBlancas;
        }
    }
}
